<template>
  <div class="layui-side">
    <div class="layui-side-scroll">
      <ul id="menuTree" class="dtree" data-id="0"></ul>
    </div>
  </div>
</template>

<script setup>
const env = import.meta.env
//console.log(env.MODE)
let imgBaseUrl = ref('');
if (env.MODE == 'development') {
  imgBaseUrl.value = 'http://localhost:33333'
}
let data = reactive({
  userInfo: {},
  queryForm: {
    pageNum: 1,
    pageSize: 20
  },
  tableData: [

  ],
  total: 0,
  dialog: false,
  form: {},
  rules: {
    name: [{ required: true, message: '请输入姓名', trigger: 'change' }],
    role: [{ required: true, message: '请选择岗位', trigger: 'change' }]
  }
})


const reQueryForm = () => { // 重置查询表单
  data.queryForm = {
    pageNum: 1,
    pageSize: 20
  }
}
let imgSrc = ref('');
var menuTree;
onBeforeMount(() => {


});

</script>

<style scoped>
.layui-upload-img {

  margin: auto;
}
</style>